home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / RIncludes / QuickTimeComponents.r < prev    next >
Encoding:
Text File  |  1998-08-17  |  2.3 KB  |  98 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        QuickTimeComponents.r
  3.  
  4.      Contains:    QuickTime Interfaces.
  5.  
  6.      Version:    Technology:    QuickTime 3.0
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1990-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17.  
  18. #ifndef __QUICKTIMECOMPONENTS_R__
  19. #define __QUICKTIMECOMPONENTS_R__
  20.  
  21. #ifndef __CONDITIONALMACROS_R__
  22. #include "ConditionalMacros.r"
  23. #endif
  24.  
  25. #define canMovieImportHandles             0x01
  26. #define canMovieImportFiles             0x02
  27. #define hasMovieImportUserInterface     0x04
  28. #define canMovieExportHandles             0x08
  29. #define canMovieExportFiles             0x10
  30. #define hasMovieExportUserInterface     0x20
  31. #define dontAutoFileMovieImport         0x40
  32. #define canMovieExportAuxDataHandle     0x80
  33. #define canMovieImportValidateHandles     0x0100
  34. #define canMovieImportValidateFile         0x0200
  35. #define dontRegisterWithEasyOpen         0x0400
  36. #define canMovieImportInPlace             0x0800
  37. #define movieImportSubTypeIsFileExtension  0x1000
  38. #define canMovieImportPartial             0x2000
  39. #define hasMovieImportMIMEList             0x4000
  40. #define canMovieExportFromProcedures     0x8000
  41. #define canMovieExportValidateMovie     0x00010000
  42. #define movieExportNeedsResourceFork     0x00020000
  43. #define canMovieImportDataReferences     0x00040000
  44. #define movieExportMustGetSourceMediaType  0x00080000
  45. #define reservedForUseByGraphicsImporters  0x00800000
  46.  
  47. #define kMimeInfoMimeTypeTag             'mime'
  48. #define kMimeInfoFileExtensionTag         'ext '
  49. #define kMimeInfoDescriptionTag         'desc'
  50. #define kMimeInfoGroupTag                 'grop'
  51. #define kMimeInfoDoNotOverrideExistingFileTypeAssociation  'nofa'
  52.  
  53.  
  54. type 'mime' {
  55.     // 10 bytes of reserved
  56.     longint = 0;
  57.     longint = 0;
  58.     integer = 0;
  59.     // 2 bytes of lock count
  60.     integer = 0;
  61.     
  62.     // size of this atom
  63.     parentStart:
  64.     longint = ( (parentEnd - parentStart) / 8 );
  65.     
  66.     // atom type
  67.     literal longint = 'sean';
  68.     
  69.     // atom id
  70.     longint = 1;
  71.     integer = 0;
  72.     integer =  $$CountOf(AtomArray);
  73.     longint = 0;
  74.     
  75.     array AtomArray {
  76.         atomStart:
  77.         // size of this atom
  78.         longint = ((atomEnd[$$ArrayIndex(AtomArray)] - atomStart[$$ArrayIndex(AtomArray)]) / 8);
  79.         
  80.         // atom type
  81.         literal longint;
  82.         
  83.         // atom id
  84.         longint;
  85.         integer = 0;
  86.         integer = 0; // no children
  87.         longint = 0;
  88.         string;
  89.         atomEnd:
  90.         };
  91.     parentEnd:
  92.         
  93. };
  94.  
  95.  
  96. #endif /* __QUICKTIMECOMPONENTS_R__ */
  97.  
  98.